package com.aerotechnic.service.interfaces;

import java.util.List;

import com.aerotechnic.entities.Mecanicien;

public interface MecanicienBoInc {

	void save(Mecanicien myEntity);// before inserting make sure that the id is
									// not duplicated if it's not save the
									// object and return true otherwise restrict
									// saving and return false

	void update(Mecanicien myEntity);

	void delete(int id);

	Mecanicien findByID(int id);

	List<Mecanicien> findAll();

	List<Mecanicien> find(int startIndex, int pageSize);

	int countAllMecanicien();
}
